<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>左栏固定宽度，右栏自适应</title>
    <style type="text/css">
        body {
            margin: 0;
        }

        #container {
            margin-left: 230px;
            _zoom: 1;
        }

        #nav {
            float: left;
            width: 230px;
            height: 600px;
            background: #ccc;
            margin-left: -230px;
            position: relative;
        }

        #main {
            height: 400px;
            background: #dedede;
        }

        #footer {
            clear: both;
            text-align: center;
            background: #999;
        }
    </style>
</head>
<body>
<div id="container">
    <div id="nav">
        Left
    </div>
    <div id="main">
        Right
    </div>
</div>
<div id="footer">
    Bottom
</div>
</body>
</html>